package com.epam.cdp.selenium2.core.common.remote_access.ftp;

import com.epam.cdp.selenium2.core.common.SpecialSymbols;

/**
 * Information about location and access data
 * 
 * @author yyudzitski
 */
public class FtpHost
{
  private String hostName;

  private String login;

  private String password;

  public FtpHost( String hostName, String login, String password )
  {
    this.hostName = hostName;
    this.login = login;
    this.password = password;
  }

  public void setHostName( String hostName )
  {
    this.hostName = hostName;
  }

  public String getHostName()
  {
    return hostName;
  }

  public void setLogin( String login )
  {
    this.login = login;
  }

  public String getLogin()
  {
    return login;
  }

  public void setPassword( String password )
  {
    this.password = password;
  }

  public String getPassword()
  {
    return password;
  }

  @Override
  public String toString()
  {
    return "FTP=" + SpecialSymbols.CURLY_OPEN_BRACKET.toString() + this.login + SpecialSymbols.COLON.toString()
      + this.password + SpecialSymbols.DOG.toString() + this.hostName + SpecialSymbols.CURLY_CLOSE_BRACKET.toString();
  }
}